home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # xcfront; cycle through various modems until xc returns successful status
- # designed to be used within a csh alias, e.g.:
- # alias xc 'cd /pub/jpr/comm ; xcfront \!*'
- # or a ksh alias, e.g.:
- # alias -x xc='cd /pub/jpr/comm; xcfront $*'
- #
- # This changes you to a favorite directory used while communicating,
- # then runs 'xc' with any other command line parameters.
- # The MODEM list below should include all available ones, and 'xc'
- # is called until it finds one that's free.
-
- MODEM=ttyA08 xc $* && exit 0
- MODEM=ttyA01 xc $* && exit 0
- MODEM=ttyA02 xc $* && exit 0
- MODEM=ttyA03 xc $* && exit 0
-